import Vue from 'vue'
import VueRouter from 'vue-router'
import home from '@/views/home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: home
  },
  {
    path: '/kc',
    name: 'kc',
    component: () => import('@/views/kc.vue')
  },
  {
    path: '/lx',
    name: 'lx',
    component: () => import('@/views/lx.vue')
  },
  {
    path: '/wd',
    name: 'wd',
    component: () => import('@/views/wd.vue')
  },
  {
    path: '/yk',
    name: 'yk',
    component: () => import('@/views/yk.vue')
  },
  {
    path: '/fd',
    name: 'fd',
    component: () => import('@/views/fd.vue')
  },
  {
    path: '/xxrl',
    name: 'xxrl',
    component: () => import('@/views/xxrl.vue')
  },
  {
    path: '/xq',
    name: 'xq',
    component: () => import('@/views/xq.vue')
  },
  {
    path: '/tj',
    name: 'tj',
    component: () => import('@/views/tj.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
